// 项目的JS打包入口文件
import Vue from 'vue'

import app from './App.vue'

import './globalConfig.js' 

import  {Header, Swipe, SwipeItem, Button ,Lazyload }  from  'mint-ui'

Vue.use(Lazyload)

import "mint-ui/lib/style.css"

Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
Vue.component(Button.name, Button)


import VueRouter from 'vue-router'
Vue.use(VueRouter)

import mycontainer from '../src/components/MyContainer.vue'
Vue.component('mytest',mycontainer)


import './filters.js'


import router from './router.js'
import VueResource from 'vue-resource'







Vue.use(VueResource)
Vue.http.options.root =  'http://api.cms.liulongbin.top/';

var vm = new Vue({
    el:'#app',
    render: c=>c(app),
    router
})